from flask import Flask
from app.routes.home import homebp
from app.routes.mange import mangebp
from app.routes.errors import errorbp

def create_app():
    app = Flask(__name__)
    app.register_blueprint(errorbp)
    app.register_blueprint(homebp,url_prefix="/")
    app.register_blueprint(mangebp,url_prefix="/mange")
    return app
